import request from "../../http";

const newsApi = {
  async getData(query) {
    return request({
      url: "/pc/notice/list",
      method: "get",
      params: query
    });
  },
  async readNews(params) {
    return request({
      url: "/pc/notice/read",
      method:'post',
      data:params
    });
  }
};

export default newsApi;
